Yoast\WP\Duplicate_Post\Post_Duplicator A

Total Complexity 55
Dependencies 3
Dependents 5
Total lines 375
Lines of code 226
Logical lines of code 120
Comment lines 106
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
create_duplicate()
A
40 15 52
copy_post_meta_info()
A
44 12 44
copy_post_taxonomies()
A
50 8 27
generate_copy_status()
S
57 7 17
generate_copy_author()
S
59 5 15
generate_copy_title()
S
57 4 17
create_duplicate_for_rewrite_and_republish()
S
53 2 23
get_default_options()
S
53 1 26
set_modified()
S
72 1 5